package cn.lili.modules.member.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.member.client.FootPrintClient;
import cn.lili.modules.member.entity.dos.FootPrint;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: ftyy
 * @date: 2022-01-14 10:03
 * @description: 浏览历史fallback
 */
public class FootPrintFallback implements FootPrintClient {

    @Override
    public FootPrint saveFootprint(FootPrint footPrint) {
        throw new ServiceException();
    }

    @Override
    public boolean clean() {
        throw new ServiceException();
    }

    @Override
    public boolean deleteByIds(List<String> ids) {
        throw new ServiceException();
    }

    @Override
    public long getFootprintNum() {
        throw new ServiceException();
    }
}
